﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CustomerCardEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/14
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("CardId")]
	public class UserCard
	{
		///<summary>
		///
		///</summary>
		public UserCard()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("CardId","主键")]
        public int CardId { get; set; }

		///<summary>
		///名称
		///</summary>
        [Column("Name","名称")]
        public string Name { get; set; }

		///<summary>
		///价格
		///</summary>
        [Column("Price","价格")]
        public decimal Price { get; set; }

        ///<summary>
        ///支付价格
        ///</summary>
        [Column("PayPrice", "支付价格")]
        public decimal PayPrice { get; set; }

        ///<summary>
        ///图标
        ///</summary>
        [Column("Icon","图标")]
        public string Icon { get; set; }

		///<summary>
		///简介
		///</summary>
        [Column("Description","简介")]
        public string Description { get; set; }

        ///<summary>
        ///级别 1-普通 2-黑金
        ///</summary>
        [Column("Level","级别 1-普通 2-黑金")]
        public int Level { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///创建人
		///</summary>
        [Column("CreateUser","创建人")]
        public int CreateUser { get; set; }

		///<summary>
		///最后修改时间
		///</summary>
        [Column("LastUpdateDate","最后修改时间")]
        public DateTime LastUpdateDate { get; set; }

		///<summary>
		///最后修改人
		///</summary>
        [Column("LastUpdateUser","最后修改人")]
        public int LastUpdateUser { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

        ///<summary>
        ///优惠金额
        ///</summary>
        [Column("DiffPrice", "优惠金额")]
        public decimal DiffPrice { get; set; }

    }
}